package com.lill.org.dao;

import com.lill.common.component.dao.IBaseDao;
import com.lill.common.component.util.Query;
import com.lill.org.model.EmployeeModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 员工管理Dao
 *
 * @author lill
 * @date 2019-04-25 20:45:24
 */
public interface IEmployeeDao extends IBaseDao<EmployeeModel> {

	int updatePassword(Map<String, Object> mapParam);
	
	List<Map<String, Object>> queryPersonList(Map<String, Object> mapParam);

    List<EmployeeModel> queryEmployeeList(Query query);
    
    List<EmployeeModel> queryShopManagerEmployeeByBranchId(Map<String, Object> mapParam);
    
    String queryUserIdByEmployeeId(String employeeId);
    
    List<String> queryShopManagerUserIdByBranchId(String branchId);
    
    List<Map<String, Object>> queryPersonOhterList(Map<String, Object> params);
    List<Map<String, Object>> queryRepeatEmployee(@Param("companyId")String companyId,@Param("branchId")String branchId,@Param("phones")String phones);
    
    List<Map<String, Object>> queryEmployeeByBranchId(Map<String, Object> params);

    List<Map<String, Object>> queryCustomerBySendMsg(Map<String, Object> map);


    List<Map<String, Object>> queryEmpByMaintenance();

}
